cmake_minimum_required(VERSION 3.0.2)
project(create_world)

find_package(catkin REQUIRED COMPONENTS
        geometry_msgs
        nav_msgs
        roscpp
        std_msgs
        tf
        sensor_msgs
        angles
        )

catkin_package(
        #  INCLUDE_DIRS include
        #  LIBRARIES create_world
        #  CATKIN_DEPENDS geometry_msgs nav_msgs roscpp std_msgs tf
        #  DEPENDS system_lib
)

include_directories(
        ${catkin_INCLUDE_DIRS}
)

add_executable(go_to_waypoint src/go_to_waypoint.cpp)
add_executable(multiple_waypoints_odom src/multiple_waypoints_odom.cpp)
add_executable(waypoints_tf src/waypoints_tf.cpp)
add_executable(obstacle_detection src/obstacle_detection.cpp)
add_executable(back_and_forth src/back_and_forth.cpp)
add_executable(testFunc src/testFunc.cpp)
add_executable(multiple_waypoints_odomWORKING src/multiple_waypoints_odomWORKING.cpp)
add_executable(edge_following src/edge_following.cpp)
add_executable(edge_following_class src/edge_following_class.cpp)
add_executable(edge_following_classWORKING src/edge_following_classWORKING.cpp)

target_link_libraries(go_to_waypoint ${catkin_LIBRARIES})
target_link_libraries(multiple_waypoints_odom ${catkin_LIBRARIES})
target_link_libraries(waypoints_tf ${catkin_LIBRARIES})
target_link_libraries(obstacle_detection ${catkin_LIBRARIES})
target_link_libraries(back_and_forth ${catkin_LIBRARIES})
target_link_libraries(testFunc ${catkin_LIBRARIES})
target_link_libraries(multiple_waypoints_odomWORKING ${catkin_LIBRARIES})
target_link_libraries(edge_following ${catkin_LIBRARIES})
target_link_libraries(edge_following_class ${catkin_LIBRARIES})
target_link_libraries(edge_following_classWORKING ${catkin_LIBRARIES})
